package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * Created by 野马 on 2019/6/17.
 * 上师
 */
@Data
public class Guru {
    @Excel(name = "上师编号")
    private int guruId;
    @Excel(name = "上师名字",orderNum = "1")
    private String guruName;
    @Excel(name = "上师图片地址",orderNum = "2")
    private String guruImage;
    @Excel(name = "上师法号",orderNum = "3")
    private String guruNickName;
    @Excel(name = "上师状态",orderNum = "4",replace = {"正常_0","冻结_1"})
    private int guruStatus;

    /**
     * replace  值的替换  意味着  如果值为0  在写出到Excel文件的时候会被写入正常
     * orderNum  定于第几列
     * name  定义列名
     */


}
